<include file="Public/min-header" /> <!--引入 js css img 文件-->
<link href="__PUBLIC__/css/page.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <!--导航  start //-->
    <include file="Public/header" />  <!--引入头部导航  //-->
    <!--导航 End  //-->

    <div id="main">
        <!--右边菜单-->
        <include file="User/menu" />
        <!--右边菜单End-->
        <div class="mainfr-box">
            <div class="place">
                <span>当前位置：</span>
                <ul class="placeul">
                    <li><a href="#">资料管理 »</a></li>
                    <li><a href="#">会员升级管理</a></li>
                </ul>
                <ul class="placeula">
                    <li><a href="javascript:location.reload()"><span class="placea"></span>刷新</a></li>
                    <li><a href="javascript:history.go(-1)"><span class="placea"></span>返回上一页</a></li>
                </ul>
            </div>
            <div class="clr"></div>
           
            <div class="main">
                <form name="form1" method="post" action="__CONTROLLER__/user_sj" onsubmit="return tikuancheck();">
                    <input name="y_grade" type="hidden" readonly class="scinput" placeholder="" value="{$y_grade.id}"/>
                    <input name="y_gradename" type="hidden" readonly class="scinput" placeholder="" value="{$y_grade.grade_name}"/>
                    <table class="Register-table2">
                        <tr>
                            <th> 您当前现金币余额为 <i>(&nbsp;  {$user.user_money})</i></th>
                        </tr> 
                    </table>
                    <table width="100%" border="0" class="Register-table">
                        <tr class="odd">
                            <th scope="row" width="130">当前会员编号：</th>
                            <td>{$user.account}</td>
                            <th scope="row" width="130">当前会员昵称：</th>
                            <td>{$user.nickname}</td>
                        </tr>
                        <tr class="odd">
                            <th>当前级别：</th>
                            <td> {$level.level_name}</td>
                            <th >可升级别：</th>
                            <td>
                                <if condition="empty($user_level)">
                                    你已是最高级别
                                    <else/>
                                    <select class="select3" name="grade" id="grade" style="border:solid #F0DCBE 1px;height: 35px;">
                                        <volist name="user_level" id="p">
                                            <option value="{$p.level_id}">{$p.level_name}报单金额{$p.amount}
                                            </option>
                                        </volist>
                                    </select>
                                </if>
                            </td>
                        </tr>
                        <tr class="odd">
                            <th>二级密码：</th>
                            <td colspan="3"><input type="password" name="secpwd" class="dfinput" /></td>
                        </tr>
                      <!--  <tr class="odd">
                            <td colspan="4" align="center"><i>升级须知：升级前请确保账户余额充足，否则【<b><a href="__ROOT__/Finance/huikuan.html">前往这里充值</a></b>】</td>
                        </tr>  -->
                    </table>
                    <if condition="$user['levle'] eq 5"> <b style="color:red;">你己经是最高级别 无需升级</b><else /> <div class="button-box"> <input class="button-style" type="submit" id="but" value="确认申请" ></div></if>
                </form>
                <!--<div class="clr"></div>
                <table class="Inquire-table2">
                    <tr>
                        <th>序号</th>
                        <th>原级别</th>
                        <th>升级后级别</th>
                        <th>升级时间</th>
                        <th>说明</th>

                    </tr>
                    <foreach name="user_sj" item="v">
                        <tr>
                            <td>{$v['id']}</td>
                            <td>{$v['y_grade']}</td>
                            <td>{$v['sj_grade']}</td>
                            <td>{$v['sj_time']}</td>
                            <td>{$v['note']}</td>
                        </tr> 
                    </foreach>
                </table>
                <div class="pages"><div align="right">{$page}</div></div>-->
            </div>
        </div>
    </div>
    <!--foot-->
    <div class="clr"></div>
    <!--footer start //-->
    <include file="Public/footer" />  <!--引入底部 //-->
    <!--footer  end //-->
</body>
</html>